<div ng-controller="lineprestore">
    <div class="bg-light lter b-b wrapper-md ng-scope">
        <h1 class="m-n font-thin h3 ng-binding">平台预存管理列表</h1>
    </div>
   
    <div class="pull-left col-sm-12" style="background-color: #ffffff ;margin: 0px 15px;margin-top: 10px">


        <div class=" pull-left" style="text-align:center; margin: 5px 0 ; width: 30%">
        </div>
        <div class=" pull-left" style="text-align:center;width: 45%;height: 40px">
            <div style="margin-top: 10px">
                账户余额：¥{{balance_price}}
            </div>
            
        </div>
        <div class=" pull-right" style="text-align:center;width: 25%">
             <div class="pull-left" style="margin-top: 5px">
                <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="chuangjian()">创建预存</button>
            </div>
             <div class="pull-left" style="margin-top: 5px">
                <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-if="wjq" ng-click="returnmonery()">退回预存</button>
            </div>
        </div>
    </div>
   
    <div>
         <div class="col-sm-12 " style="border-bottom: 1px solid #eaeff0;margin-bottom: 25px">
           <table class="table table-striped table-bordered ng-isolate-scope dataTable no-footer" style="display: table; width: 100%;table-layout:fixed;">
               <thrad>
                <tr >
                    <th style="width: 32%;text-align:center;">商品名称</th>
                    <th style="width: 8%;text-align:center;">余额</th>
                    <th style="width: 8%;text-align:center;">信用额度</th>
                    <th style="width: 16%;text-align:center;">短信提示余额不足阀值</th>
                    <th style="width: 10%;text-align:center;">是否发送短信</th>
                    <th style="width: 14%;text-align:center;">手机号码</th>
                    <th style="width: 12%;text-align:center;">操作</th>

                </tr>
                </thrad>
                <tbody>
                <tr ng-repeat="info in a"> 
                    <td  style="width: 16% ;"><div class="ellipsis" style="max-width:100%;display:block;overflow: hidden;white-space: nowrap;-o-text-overflow: ellipsis;text-overflow: ellipsis;cursor:pointer;" title="{{info.seller_name}}">{{info.seller_name}}</div></td>
                    <td  style="width: 20% ;"><div class="ellipsis" style="max-width:100%;display:block;overflow: hidden;white-space: nowrap;-o-text-overflow: ellipsis;text-overflow: ellipsis;cursor:pointer;" title="{{info.balance_price}}">{{info.balance_price}}</div></td>
                    <td  style="width: 20%;"><div class="ellipsis" style="max-width:100%;display:block;overflow: hidden;white-space: nowrap;-o-text-overflow: ellipsis;text-overflow: ellipsis;cursor:pointer;" title="{{info.loan_limit_price}}">{{info.loan_limit_price}}</div></td>
                    <td  style="width: 10% ;text-align:center;">{{info.send_sms_price}}</td>
                    <td  style="width: 10%;text-align:center;overflow-x:hidden;overflow-y:hidden;">{{info.send_sms_flag}}</td>
                    <td  style="width: 8%;text-align:center;overflow-x:hidden;overflow-y:hidden;">{{info.send_sms_mobile}}</td>
                    <td  style="width: 16%;text-align:center;overflow-x:hidden;overflow-y:hidden;">
                       <div class="pull-left text-right" style="width: 47%; padding-right: 0px">
                                <button type="button" class="btn btn-info btn-xs" ng-click="returnmonery1($index)">充值</button>
                        </div>
                        <div class="pull-left text-left" style="width: 53%; padding-left: 0px">
                               &nbsp;&nbsp;&nbsp; <button type="button" class="btn btn-info btn-xs" ng-click="edit($index)">编辑</button>
                        </div>
                       
                        </td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div class="text-right" style="background-color: white">
    <pagination 
        total-items="totalItems" 
        ng-model="currentPage" 
        ng-change="pageChanged()"
        previous-text="上一页" 
        next-text="下一页" 
        first-text="首页" 
        last-text="尾页" 
        max-size="5" 
        boundary-links="true"
        rotate="false"
        
        items-per-page="itemsPerPage"
        class="m-t-none m-b"></pagination>
    </div>
</div>

